package acessoDados.dao;

import java.sql.ResultSet;
import java.sql.SQLException;

public interface ReservaDAO extends BaseDAO {
	public  int criaReserva(String login, int idViagem, String tipoPagamento, int quantPagamento) throws SQLException, ClassNotFoundException ;
	
	public  int getNrTotalReservas() throws SQLException, ClassNotFoundException ;
	public  int getNrTotalReservasCanceladas() throws SQLException, ClassNotFoundException ;
	public  void associaLugar(int idReserva, int posicao) throws SQLException, ClassNotFoundException;

	public  void cancelaReserva(String id) throws SQLException, ClassNotFoundException ;

	public  void expiraReserva(String id) throws SQLException, ClassNotFoundException ;

	public  ResultSet getReservas(String login) throws SQLException, ClassNotFoundException ;

	public  ResultSet getReservasDeViagem(String idViagem) throws SQLException, ClassNotFoundException ;

	public  ResultSet getDetalhesReserva(String id) throws SQLException, ClassNotFoundException ;

	public int getNumeroReservas(String idViagem) throws SQLException, ClassNotFoundException ;

	public  ResultSet getReserva(String id) throws SQLException, ClassNotFoundException ;

	public  int getNumeroLugaresDeReserva(int idReserva) throws SQLException, ClassNotFoundException ;
}
